package movie.entity;

import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

public class FilmDate {
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date time;
	private String filmTime;
	private List<Schedule> schedules;
	
	public String getFilmTime() {
		return filmTime;
	}
	public void setFilmTime(String filmTime) {
		this.filmTime = filmTime;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public List<Schedule> getSchedules() {
		return schedules;
	}
	public void setSchedules(List<Schedule> schedules) {
		this.schedules = schedules;
	}
	@Override
	public String toString() {
		return "FilmDate [time=" + time + ", Schedules=" + schedules + "]";
	}
	
	
}
